a9f102c4bced4ece9e0d9db83dd70b8d7f2904bd,src/main/java/com/mucommander/ui/main/DrivePopupButton.java,DrivePopupButton,updateButton,#,165

Before Change


//        String newToolTip = null;

        // First tries to find a bookmark matching the specified folder
        java.util.List<Bookmark> bookmarks = BookmarkManager.getBookmarks();
        int nbBookmarks = bookmarks.size();
        Bookmark b;
        for(int i=0; i<nbBookmarks; i++) {

After Change


//        String newToolTip = null;

        // First try to find a bookmark matching the specified folder
        for(Bookmark bookmark : BookmarkManager.getBookmarks()) {
            if(currentPath.equals(bookmark.getLocation())) {
                // Note: if several bookmarks match current folder, the first one will be used
                newLabel = bookmark.getName();